package fr.ajicommerce.core.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import fr.ajicommerce.core.entities.Adresse;
import fr.ajicommerce.core.entities.Civilite;
import fr.ajicommerce.core.entities.Commande;
import fr.ajicommerce.core.entities.Langue;
import fr.ajicommerce.core.entities.StatusUtilisateur;

public class CompteClientDTO implements Serializable {

	private static final long serialVersionUID = -4556438798809172188L;

	private Long idCompteClient;
	private String login;
	private String password;
	private String prenom;
	private String nom;
	private String email;
	private String telephone;
	private Date dateOuverture;
	private Date dateFermeture;
	private boolean isClos;
	private StatusUtilisateur statusUtilisateur;
	private Civilite civilite;
	private Langue langue;
	private List<Commande> commandes;
	private List<Adresse> adresses;

	public CompteClientDTO() {
	}

	public CompteClientDTO(Long idCompteClient, String login, String password,
			String prenom, String nom, String email, String telephone,
			Date dateOuverture, Date dateFermeture, boolean isClos,
			StatusUtilisateur statusUtilisateur, Civilite civilite,
			Langue langue, List<Commande> commandes, List<Adresse> adresses) {
		super();
		this.idCompteClient = idCompteClient;
		this.login = login;
		this.password = password;
		this.prenom = prenom;
		this.nom = nom;
		this.email = email;
		this.telephone = telephone;
		this.dateOuverture = dateOuverture;
		this.dateFermeture = dateFermeture;
		this.isClos = isClos;
		this.statusUtilisateur = statusUtilisateur;
		this.civilite = civilite;
		this.langue = langue;
		this.commandes = commandes;
		this.adresses = adresses;
	}
	
	@Override
	public String toString() {
		return "CompteClientDTO [idCompteClient=" + idCompteClient + ", login="
				+ login + ", password=" + password + ", prenom=" + prenom
				+ ", nom=" + nom + ", email=" + email + ", telephone="
				+ telephone + ", dateOuverture=" + dateOuverture
				+ ", dateFermeture=" + dateFermeture + ", isClos=" + isClos
				+ ", statusUtilisateur=" + statusUtilisateur + ", civilite="
				+ civilite + ", langue=" + langue + ", commandes=" + commandes
				+ ", adresses=" + adresses + "]";
	}

	public Long getIdCompteClient() {
		return idCompteClient;
	}

	public void setIdCompteClient(Long idCompteClient) {
		this.idCompteClient = idCompteClient;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Date getDateOuverture() {
		return dateOuverture;
	}

	public void setDateOuverture(Date dateOuverture) {
		this.dateOuverture = dateOuverture;
	}

	public Date getDateFermeture() {
		return dateFermeture;
	}

	public void setDateFermeture(Date dateFermeture) {
		this.dateFermeture = dateFermeture;
	}

	public boolean isClos() {
		return isClos;
	}

	public void setClos(boolean isClos) {
		this.isClos = isClos;
	}

	public StatusUtilisateur getStatusUtilisateur() {
		return statusUtilisateur;
	}

	public void setStatusUtilisateur(StatusUtilisateur statusUtilisateur) {
		this.statusUtilisateur = statusUtilisateur;
	}

	public Civilite getCivilite() {
		return civilite;
	}

	public void setCivilite(Civilite civilite) {
		this.civilite = civilite;
	}

	public Langue getLangue() {
		return langue;
	}

	public void setLangue(Langue langue) {
		this.langue = langue;
	}

	public List<Commande> getCommandes() {
		return commandes;
	}

	public void setCommandes(List<Commande> commandes) {
		this.commandes = commandes;
	}

	public List<Adresse> getAdresses() {
		return adresses;
	}

	public void setAdresses(List<Adresse> adresses) {
		this.adresses = adresses;
	}

}
